/******************************************************************************
 * * ui_type.h - type define for UI
 *
 * *(C) Copyright 2019 Asr International Ltd.
 * * All Rights Reserved
 * ******************************************************************************/
#ifndef _UI_TYPE_H_
#define _UI_TYPE_H_

#ifdef __cplusplus
extern "C" {
#endif /* __cpluscplus */

#ifndef UINT8
typedef unsigned char        UINT8;
#endif

#ifndef INT8
typedef char                 INT8;
#endif

#ifndef UINT16
typedef unsigned short       UINT16;
#endif

#ifndef INT16
typedef short                INT16;
#endif

#ifndef UINT32
typedef unsigned int         UINT32;
#endif

#ifndef INT32
typedef int                  INT32;
#endif

#ifndef BOOL
typedef unsigned char        BOOL;
#endif

#ifndef FLOAT
typedef float                FLOAT;
#endif

#ifndef DOUBLE
typedef double               DOUBLE;
#endif

#ifndef UINT64
typedef unsigned long long   UINT64;
#endif

#ifndef INT64
typedef long long            INT64;
#endif

#ifndef VOID
typedef void                 VOID;
#endif

#ifndef NULL
#define NULL                 ((void *)0)
#endif
    
#ifndef TRUE
#define TRUE    1
#endif

#ifndef FALSE
#define FALSE    0
#endif

#ifndef NO
#define NO    0
#endif

#ifndef YES
#define YES    1
#endif

#ifdef __cplusplus
}
#endif /* __cpluscplus */

#endif /* end of _UI_TYPE_H_ */
